package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.Destination;
import cn.wolfcode.luowowo.domain.Region;
import cn.wolfcode.luowowo.domain.StrategyCatalog;
import cn.wolfcode.luowowo.query.DestinationQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 目的地业务接口
 */
public interface IDestinationService {

    //根据id查询目的地信息
    Destination get(String id);
    //搜索下级目的地的所有选项
    List<Destination> getDestByDeep(int deep);
    //关联目的地的查询
    List<Destination> getDestByRegionId(String rid);

    Page<Destination> list(DestinationQuery qo);

    List<Destination> getToasts(String parentId);

    List<Destination> getDestByRegionIdForApi(String regionId);


    void updateInfo(String id, String info);

    List<StrategyCatalog> catalogs(String destId);

    List<Destination> listAll();
}

